package com.microinvest.service;

import com.microinvest.entity.BuyStock;
import com.microinvest.entity.SellStock;
import com.microinvest.entity.Users;
import com.microinvest.util.Result;

import java.util.List;

public interface AdminService {

    //管理员登录
    public Result<String> loginWithAdminNamePasswordService(String adminName, String password);
    //管理员获取所有用户信息
    public Result<List<Users>> getUsersMessageService();
    //列表形式返回全部买入股票数据
    public Result<List<BuyStock>> getBuyStockMessage();
    //列表形式返回全部卖出股票数据
    public Result<List<SellStock>> getSellStockMessage();

}
